<template>
	<view >
        <image src="/subpkg/auth/static/logo.png" style="width: 160rpx; height: 160rpx"></image>
		<view>账密登录</view>

		<button @click="login">登录</button>
	</view>
</template>

<script setup>
import { useAuthStore } from '/subpkg/auth/stores/auth.js'
const authStore = useAuthStore()

async function login(params) {
	await authStore.login({
		username: 'admin',
		password: '123456',
	},'pwd')
}
</script>

<style lang="scss" scoped>
	 
</style>
